<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="{$keywords}" />
<meta name="description" content="{$description}" />
<title>{$page_title}</title>
<link rel="stylesheet" href="{$mymps_global[SiteUrl]}/template/default/css/global.css" />
<link rel="stylesheet" href="{$mymps_global[SiteUrl]}/template/default/css/style.css" />
<link rel="stylesheet" href="{$mymps_global[SiteUrl]}/template/default/css/style.head_{$mymps_global[head_style]}.css" />
<link rel="stylesheet" href="{$mymps_global[SiteUrl]}/template/default/css/goods.head_{$mymps_global[head_style]}.css" />
<link rel="stylesheet" href="{$mymps_global[SiteUrl]}/plugin/goods/template/newstyle.css" />
<link rel="stylesheet" href="{$mymps_global[SiteUrl]}/template/default/css/pagination2.css" />
<script src="{$mymps_global[SiteUrl]}/template/global/noerr.js" type="text/javascript"></script>
<script src="{$mymps_global[SiteUrl]}/template/default/js/global.js" type="text/javascript"></script>
<script src="{$mymps_global[SiteUrl]}/template/default/js/jquery.min.js" type="text/javascript"></script>
<script src="{$mymps_global[SiteUrl]}/template/default/js/dropdown.js" type="text/javascript"></script>
	<script src="{$mymps_global[SiteUrl]}/template/global/lang.js" type="text/javascript"></script>
	<script >$(document).ready(function () {zh_tran('t');})</script>
</head>

<body class="{$mymps_global[cfg_tpl_dir]} full bodybg{$mymps_global[cfg_tpl_dir]}{$mymps_global[bodybg]}">
{mytemplate inc_head}
<div class="body1000">
	<div class="clear"></div>
	<div class="location">{$location}</div>
	<div class="clear"></div>
	<div class="wrapper">
		<div class="goods_left">
			<div class="cate_seller">
				<div class="whiteborder">
					<div class="bd">
						<ul>
                        {php $i=1;}
                        {loop $goods_cat $fcat}
						<li class="item"><a href="javascript:void(0);" class="rights" onclick="showHide(this,'items{$fcat[catid]}');">{$fcat[catname]}</a>
						<ul class="contnt" id="items{$fcat[catid]}" 
						style="display:
                        {if $cat[catid] > 0}
							{if $fcat[catid] == $cat[parentid] || $fcat[catid] == $catid}{else}none{/if}
						{else}
							{if $i == 1}{else}none{/if}
                        {/if}
						;">
						<li><a href="{$fcat[uri]}">全部</a></li>
                        {loop $fcat[children] $scat}
						<li><a href="{$scat[uri]}"  {if $catid == $scat[catid]} class="current"{/if}>{$scat[catname]}</a></li>
						{/loop}
						</ul>
						</li>
						<div class="clearfix"></div>
                        {php $i++;}
						{/loop}
						</ul>
					</div>
				</div>
			</div>
			<div class="clear"></div>
			<div class="best_seller">
				<div class="contntt">
					<div class="hd">一周销量排行榜</div>
					<div class="bd">
						<ul>
                        	{loop $remai_goods $v}
							<li>
								<div class="goods_image"><a href="{$v[uri]}" target="_blank"><img src="{$mymps_global[SiteUrl]}{$v[picture]}" border="0" alt="{$v[goodsname]}"/></a></div>
								<div class="goods_title"><a href="{$v[uri]}" target="_blank">{$v[goodsname]}</a></div>
								<div class="goods_price">&yen;{$v[nowprice]}</div>
							</li>
                            {/loop}
						</ul>
					</div>
				</div>
			</div>
		</div>
		<div class="goods_right">
			<div class="hot_seller">
				<ul>
                	{loop $tuijian_goods $v}
					<li>
						<div class="goods_image"><a href="{$v[uri]}" target="_blank"><img src="{$mymps_global[SiteUrl]}{$v[pre_picture]}" border="0" alt="{$v[goodsname]}"/></a></div>
						<div class="goods_title"><a href="{$v[uri]}" target="_blank">{$v[goodsname]}</a></div>

						<div class="goods_price">&yen;{$v[nowprice]}</div>
					</li>
                    {/loop}
				</ul>
			</div>
			<div class="clear"></div>
			<div class="goods_list">
				<div class="hd">
					<li {if $orderby == 'dateline'}class="currenth"{/if}><a href="{$uri[dateline]}">按上架时间</a></li>
					<li {if $orderby == 'hit'}class="currenth"{/if}><a href="{$uri[hit]}">按人气排序</a></li>
					<li {if $tuijian == 1}class="currenth"{/if}><a href="{$uri[tuijian]}">仅显示推荐</a></li>
					<li {if $cuxiao == 1}class="currenth"{/if}><a href="{$uri[cuxiao]}">仅显示促销</a></li>
				</div>
				<div class="bd">
				<div class="main_list">
					<ul class="cfix">
                    {loop $list $v}
					<li> <b><a href="{$v[uri]}" target=_blank><img src="{$mymps_global[SiteUrl]}{$v[picture]}" class="img0" width=170 height=170 border=0 alt="{$v[goodsname]}"/></a></b> <span class="price">{$v[nowprice]}<del>￥{$v[oldprice]}</del></span> <span class="title"><a href="{$v[uri]}" target=_blank>{echo cutstr($v[goodsname],26)}</a></span> <a href="{$v[uri]}" class="menu" target="_blank"><img src="{$mymps_global[SiteUrl]}/plugin/goods/template/images/pro_list_18.gif"/></a> <a href="{$v[uri]}" target=_blank class="menu"><img src="{$mymps_global[SiteUrl]}/plugin/goods/template/images/pro_list_29.gif" alt="" /></a> </li>
					{loopelse}
					<li>暂无相关商品！</li>
					{/loop}
				</ul>
	
			</div>
				<div class="clear15"></div>
				<div class="pagination2">{$page_view}</div>
				</div>
			</div>
		</div>
	</div>
	<div class="clear"></div>
	{mytemplate inc_foot}
	</div>
</div>
</body>
</html>